package com.zxx.pattern.proxyPattern.proxyDynamic.dynamic1;

/**
 * @author zxx on 2021/5/11
 */
public class Car implements Vehicle {

    @Override
    public void move() {
        try {
            System.out.println("汽车行驶中......");
            Thread.sleep((long) (Math.random() * 1000 + 1));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
